Connectivity Software User's Guide and Reference
Sparkplug Consumer Object Operations And Notifications
Rapid Toolkit for Sparkplug > Concepts > Developing Sparkplug Host Applications > Sparkplug Consumer Object Operations And Notifications
In This Topic

Introduction

The consumer object (an instance of the EasySparkplugConsumer Class) in Rapid Toolkit for Sparkplug allows you to:

Subscribing to Data

Sparkplug host applications typically need to receive data from Sparkplug edge nodes and/or devices. What the host application does with the data is up to the implementor.

See Subscribing to Data in Sparkplug Consumer for information on how to subscribe to data using Rapid Toolkit for Sparkplug.

Data Notifications

When new data is received for subscriptions made on the consumer object, a data notification occurs (in form of raising an event or invoking a callback).

See Data Notifications in Sparkplug Consumer for information on when data notifications occur, their content, and processing.

Publishing Commands

Some Sparkplug host applications also write commands to Sparkplug edge nodes and/or devices. Such commands typically modify the state, behavior, or configuration of the target edge ndoe or device. 

See Publishing Commands in Sparkplug Consumer for information on how to publish commands using Rapid Toolkit for Sparkplug.

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

See Also